{include file="common/header"}
<div id="app" v-cloak>
    <el-curd 
        :field="field" 
        search-keyword="请输入用户ID搜索">
    </el-curd>
</div>
{include file="$component" /}
<script>
    new Vue({
        el: '#app',
        data() {
            return {
                field: [
                    {
                        prop: 'user_cover', 
                        label: '',
                        table: {
                            is: 'el-image',
                            width: '50px'
                        },
                        form: false,
                    },
                    {
                        prop: 'my', 
                        label: '邀请人',
                        table: {prop: 'user_mobile', bind: ['user_email'], sort: true},
                        form: false,
                    },
                    {
                        prop: 'integral',
                        label: '获得积分',
                        table: {sort: true},
                    },
                    {
                        prop: 'create_time', 
                        label: '邀请日期',
                        form: false,
                        table: {sort: true},
                    },
                ],
            }
        },
    })
</script>
{include file="$footer" /}